home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
051-075
/
scopedisk71
/
prtpic
/
prtpic.doc
< prev
next >
Wrap
Text File
|
1995-03-19
|
3KB
|
77 lines
prtpic -- A CLI IFF picture printing utility by Brian Conrad
============================================================
The program is freely distributable as long as this notice is
included with the file.
Prtpic does not display the picture it is printing and therefore
doesn't use up any CHIP memory. It does however require the 1.3
printer drivers. It also excepts multiple filenames and/or
wildcards for filenames.
Syntax:
prtpic [-n] [-f] [-c width height] [-m] filelist
The -n option turns OFF the formfeed after printing each picture.
This can be useful if you are creating a collage of many picture
files.
The -f option prints the picture to the FULL dimension possible of
the printer's limits or configuration limit, whichever is less.
The -c option prints the picture the specified width and height in
printer dots. If no width and height is specified then the
dimenisions of the IFF file are used. This can be useful if you are
printing a black and white picture and you want a pixel to dot
printout.
Example: prtpic -c 400 200 mypic
The -m option turns offs centering.
The default mode of prtpic is to print the picture in full aspect
ratio with the picture centered.
Printing may be aborted by pressing CTRL-C.
Wildcard uses the asterisk to specify any number of characters and
the question mark to wildcard one character:
*.pic will print flower.pic bugs.pic but not bugs.arc
brush?.p will print brush1.p brush2.p but not brush.p
Several people have been requesting this utility over the last few
months on some of the nets and I was suprised that no one wrote one
so decided to write one up using some existing files I had around
here. Prtpic owes it's existance to contributions by:
Bill Joyce -- for his source code to 'strings' for implementation
of Matt Dillon's wildcard routines.
Matt Dillon for his "mattwild" wildcard routines.
Jim Kent -- for simplifying the complex EA IFF code to something
"human scale". Jiff.c used as a model for my own IFF parising
code.
Carolyn Scheppner -- for some nice printer modules in Amiga Mail.
Bryce Nesbitt -- for his FlushDevice code in Amiga Mail.
Yes, prtpic is friendly to other programs because it figures out
whether you were using the serial.device (as in an Apple
Imagewriter) or parallel.device (as in about everything else)
and then removes just that device when you abort printing.
Removing these devices is necessary to make the abort work
correctly.
ToDo's -- I might also add an icon and the ability to select files
via clicking on icons so that this utility could also be used from
WorkBench.
Brian Conrad PLINK/BIX: BCONRAD GENIE: BDCONRAD
P.O. Box 62
Touchet, WA 99360
May 15th,